AUTOMAKE_OPTIONS=foreign

AM_CPPFLAGS = ${my_CPPFLAGS} -I$(srcdir) -I$(top_srcdir) -I$(srcdir)/$(MY_IO_DIR)
AM_CFLAGS   = ${my_CFLAGS}
AM_CXXFLAGS = ${my_CXXFLAGS}

if USE_POSIX_DIR
MY_IO_DIR=posix
endif

if USE_WIN32_DIR
MY_IO_DIR=win32
endif

noinst_LIBRARIES = libcomio.a
libcomio_a_SOURCES = bounds.h display.cc display.h keyb.cc keyb.h sys.cc sys.h \
file.cc file.h fileofs.h types.h event.h 

SUBDIRS = $(MY_IO_DIR)
EXTRA_SUBDIRS = posix win32
